package com.mn.c14;

import android.app.Presentation;
import android.content.Context;
import android.os.Bundle;
import android.view.Display;
import android.view.View;
import android.widget.TextView;
import android.widget.Toast;

public class MyPresenter extends Presentation {

    private TextView textView;


    public MyPresenter(Context outerContext, Display display) {
        super(outerContext, display);
    }

    public MyPresenter(Context outerContext, Display display, int theme) {
        super(outerContext, display, theme);
    }


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.dialog_my);

        textView=findViewById(R.id.bbb);
        textView.setOnClickListener(v -> Toast.makeText(getContext(), "hello", Toast.LENGTH_SHORT).show());

    }
}
